package com.ahoi.model;

import com.ahoi.common.base.BaseEntity;

import java.sql.Timestamp;
import java.util.List;

/**
 * author: ahoi
 * date: 2018/8/24 16:55
 * description:
 */
public class BookInfo extends BaseEntity {

    // ID
    private Integer id;
    private String ids;
    private List<Integer> idList;

    // 标题
    private String title;

    // 图片地址
    private String imgUrl;

    // 简介
    private String infoDesc;

    // 作者
    private String author;

    // 最新章节
    private String lastestCatalog;

    // 最后更新时间
    private Timestamp lastUpdateTime;

    // 作品类别
    private String type;

    // 总章节
    private Integer totalCatalog;

    // 标签
    private String alias;

    // 是否已更新 0-否 1-是
    private Integer updated;

    // 动态指定查询列名（只能使用$符号，不能使用#号）
    private String selectColumns;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public List<Integer> getIdList() {
        return idList;
    }

    public void setIdList(List<Integer> idList) {
        this.idList = idList;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getInfoDesc() {
        return infoDesc;
    }

    public void setInfoDesc(String infoDesc) {
        this.infoDesc = infoDesc;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getLastestCatalog() {
        return lastestCatalog;
    }

    public void setLastestCatalog(String lastestCatalog) {
        this.lastestCatalog = lastestCatalog;
    }

    public Timestamp getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Timestamp lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getTotalCatalog() {
        return totalCatalog;
    }

    public void setTotalCatalog(Integer totalCatalog) {
        this.totalCatalog = totalCatalog;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public Integer getUpdated() {
        return updated;
    }

    public void setUpdated(Integer updated) {
        this.updated = updated;
    }

    public String getSelectColumns() {
        return selectColumns;
    }

    public void setSelectColumns(String selectColumns) {
        this.selectColumns = selectColumns;
    }

    @Override
    public String toString() {
        return "BookInfo{" +
                "id='" + id + '\'' +
                ", title='" + title + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", infoDesc='" + infoDesc + '\'' +
                ", author='" + author + '\'' +
                ", lastestCatalog='" + lastestCatalog + '\'' +
                ", lastUpdateTime=" + lastUpdateTime +
                ", type='" + type + '\'' +
                ", totalCatalog=" + totalCatalog +
                ", alias='" + alias + '\'' +
                ", updated='" + updated + '\'' +
                '}';
    }
}


